//
//  XYChatViewController.h
//  十年少
//
//  Created by 尧的mac on 15/11/28.
//  Copyright © 2015年 xxy.icom. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    WLMessagesTypeMe = 0 ,//没有内容
    WLMessagesTypeOther
} WLMessagesType;//枚举定义的规范(枚举名字:类名加上属性名,枚举类型:枚举名字+想要表达的内容)

@interface WLMessages : NSObject
/**
 *  内容
 */
@property(nonatomic,copy)NSString *text;

/**
 *  类型
 */
@property(nonatomic,assign)WLMessagesType type;


+(instancetype)messagesWithDict:(NSDictionary *)dict;
-(instancetype)initWithDict:(NSDictionary *)dict;

@end
